package com.example.video.service.inter;

import com.example.video.domain.Device;
import com.example.video.domain.Information;
import com.example.video.vo.NoticeVo;
import com.example.video.vo.UpdateVo;
import com.example.video.vo.VideoVo;

import java.util.List;

public interface IInformationService {
    Long addOrUpdateInformation(Information information);

    void publishInformation(Long informationId, List<String> deviceImeis);

    List<Information> getInformationList(int page, int size);

    void deleteInformations(List<Long> informationIds);

    List<VideoVo> queryVideo(String imei, Long start, Long end);

    List<NoticeVo> queryNotice(String imei, Long start, Long end);

    List<UpdateVo> queryUpdate(int page, int size);

    List<Device> informationPublishedDevices(Long informationId);
}
